package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserAccountDao;
import com.appkubes.mall.core.entity.MallUserAccount;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserAccountService extends AbstractBaseService<BaseMallUserAccountDao, MallUserAccount> {

    MallUserAccount getOneByEntity(MallUserAccount entity);

    List<MallUserAccount> selectListByEntity(MallUserAccount entity);

    IPage<MallUserAccount> selectPageByEntity(IPage<MallUserAccount> page);
    IPage<MallUserAccount> selectPageByEntity(PageVO pageVO);

    IPage<MallUserAccount> selectPageByEntity(MallUserAccount entity, IPage<MallUserAccount> page);
    IPage<MallUserAccount> selectPageByEntity(MallUserAccount entity, PageVO pageVO);

    IPage<MallUserAccount> selectPageByEntity(MallUserAccount entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserAccount entity);
}
